package com.lx.pc.mybatis.repository.driving;

import java.math.BigInteger;

import org.springframework.data.mybatis.repository.annotation.Query;
import org.springframework.data.mybatis.repository.support.MybatisRepository;
import org.springframework.stereotype.Repository;

import com.lx.pc.domain.entity.driving.DrivingEntity;

@Repository("drivingRepository")
public interface DrivingRepository extends MybatisRepository<DrivingEntity, BigInteger> {
	
	/**
	 * 根据对象查询
	 * @param v
	 * @return
	 */
	@Query("findByDriving")
	public DrivingEntity findByDriving(DrivingEntity v);
}
